package com.dormitory.management.system.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Health对象", description="防疫健康表")
public class HealthPageResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "健康日报id")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "学号")
    private String stuId;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "健康状态（0：正常，1：异常）")
    private Integer isHealthStatus;

    @ApiModelProperty(value = "修改日期")
    private Date gmtModified;

    @ApiModelProperty(value = "当前城市")
    private String currentCity;

    @ApiModelProperty(value = "当前所在地")
    private String currentLocation;

    @ApiModelProperty(value = "明日计划（0：无，1：有）")
    private Integer isTomorrowPlan;

    @ApiModelProperty(value = "健康状态（0：正常，1：异常）")
    private Integer isHealthCode;

    @ApiModelProperty(value = "上午体温状态（0：正常，1：异常）")
    private Integer temAm;

    @ApiModelProperty(value = "下午体温状态（0：正常，1：异常）")
    private Integer temPm;

    @ApiModelProperty(value = "是否所在高风险地区（0：否，1：是）")
    private Integer isHighRiskAreas;

    @ApiModelProperty(value = "是否在校（0：在校，1：不在校）")
    private Integer isInSchool;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态（0：正常，1：禁用）")
    @TableLogic
    private Integer statusId;

    @ApiModelProperty(value = "备注（若有明日计划）")
    private String remark;

    @ApiModelProperty(value = "14天内是否经过高风险地区（0：未经过，1：经过）")
    private Integer isPassHighRiskAreas;


}
